home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 5197 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.1 KB

  1. Path: server-b.cs.interbusiness.it!usenet
  2. From: albe@pinerolo.gvo.it (Alberto Velo)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: C++ display ASCII file
  5. Date: Tue, 30 Jan 1996 10:43:47 -0100
  6. Organization: Centro Servizi Interbusiness
  7. Distribution: world
  8. Message-ID: <zRgDxQTC387B089yn@pinerolo.gvo.it>
  9. References: <4dtsed$309o@useneta1.news.prodigy.com>
  10.  <4e144f$82t@spectre.star.harc.edu>
  11. Reply-To: albe@pinerolo.gvo.it
  12. NNTP-Posting-Host: 194.184.50.201
  13.  
  14. In article <4e144f$82t@spectre.star.harc.edu>,
  15. jaewan@diana.harc.edu (Jaewan Kim - ASTRO) wrote: 
  16.  
  17. >:         ifstream src(argv[1], ios::nocreate);
  18.  
  19. Why do you use ios::nocreate ? I mean, this is a file you read -not write- and 
  20. I thought this is not needed. 
  21. (I'm new to C++ :-)).
  22.  
  23. -- 
  24. Bye,   AL!
  25.         
  26.                      E-mail : albe@pinerolo.gvo.it
  27.    Team OS/2 ITA     Fidonet: 2:334/708 2:334/708.1
  28.                      OS2net : 81:439/63 81:439/63.1
  29.  
  30.             ***********************************************
  31.               Pinerolo Internetworking BBS +39-121-393945
  32.                        Telnet bbs.piw.gvo.it
  33.             ***********************************************
  34.